package com.bee.common.core.enums;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * <pre>资源类型枚举</pre>
 */
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum ResourceTypeEnum {

	MENU("MENU","菜单"),
	BUTTON("BUTTON","按钮"),
    INTERFACE("INTERFACE","接口");

    private String code;
    private String name;

    ResourceTypeEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
